import { PatientApi } from './patient.api'

import { App } from '../../app'
import { ServiceBase, presetErr, commonErr } from 'koagun'

export class Patient extends ServiceBase<PatientApi> {
  constructor(app: App) {
    super('patient')

    const api = new PatientApi(app)
    api.attachApisToRouter(app.router)
    this.api = api

  }

}